package com.sz.sboot;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import springfox.documentation.swagger2.annotations.EnableSwagger2;
import tk.mybatis.spring.annotation.MapperScan;

//用来标注一个主程序类,说明这是一个springboot应用

@SpringBootApplication
@MapperScan("com.sz.sboot.mapper")
@EnableSwagger2
public class Starter {
    public static void main(String[] args) {
        SpringApplication.run(Starter.class);
    }
}
